a = input()
surname = a[:a.index(' ')]
lastname = a[a.index(' ') + 1:]
print("Your surname is" ,surname ,"Your first name is" ,
      lastname,'\r\n',"Your fullname is",a)
    
